/**
 * JLogger.java
 * 9 mai 2010 00:05:50
 * Copyright Julien 2010
 */
package fr.jbrunet.logger;

import org.apache.log4j.Logger;
import org.apache.log4j.xml.DOMConfigurator;

import fr.jbrunet.win.ndriveconnector.utils.Constants;

/**
 * @author Julien BRUNET
 *
 */
public class JLog {
	
	protected JLog() {
		
	}
	
	public static Logger getLogger(Class<?> clazz) {
		DOMConfigurator.configure(Constants.LOG4J_XML);
		return Logger.getLogger(clazz);		
	}

}

